<div id="header">
<div class="ctn">
  <div class="logo"> <a href="#"><img height="49" border="0" width="161" alt="" src="<?=STATIC_URL;?>img/logo.png"></a> </div>
  <div class="city">
    <div class="site_intro">预订美好生活！</div>
    <div class="city_display"> <em class="current_city"> 大连</em>
      <div id="apf_id_6_selector" class="city_switch"><span><a href="#">[切换城市]</a></span>
        <div style="display: none;" id="apf_id_6_cities" class="city_panel">
          <iframe frameborder="0" scrolling="no" style="width: 332px; height: 161px;"></iframe>
          <div id="partbd_soj" class="partbd">
            <ul>
              <li><em>华北东北:</em><a href="#" soj="AF_Home_switchcity">北京</a><a href="#" soj="AF_Home_switchcity">天津</a><a href="#" soj="AF_Home_switchcity">大连</a></li>
              <li><em>华东地区:</em><a href="#" soj="AF_Home_switchcity">上海</a><a href="#" soj="AF_Home_switchcity">杭州</a><a href="#" soj="AF_Home_switchcity">苏州</a><a href="#" soj="AF_Home_switchcity">南京</a><a href="#" soj="AF_Home_switchcity">无锡</a><a href="#" soj="AF_Home_switchcity">济南</a></li>
              <li><a href="#" soj="AF_Home_switchcity">青岛</a><a href="#" soj="AF_Home_switchcity">昆山</a><a href="#" soj="AF_Home_switchcity">福州</a><a href="#" soj="AF_Home_switchcity">合肥</a></li>
              <li><em>华南地区:</em><a href="#" soj="AF_Home_switchcity">深圳</a><a href="#" soj="AF_Home_switchcity">广州</a><a href="#" soj="AF_Home_switchcity">佛山</a><a href="#" soj="AF_Home_switchcity">惠州</a><a href="#" soj="AF_Home_switchcity">三亚</a><a href="#" soj="AF_Home_switchcity">长沙</a></li>
              <li><em>中西地区:</em><a href="#" soj="AF_Home_switchcity">成都</a><a href="#" soj="AF_Home_switchcity">重庆</a><a href="#" soj="AF_Home_switchcity">郑州</a><a href="#" soj="AF_Home_switchcity">西安</a></li>
            </ul>

            <!-- <div class="all_city"><a href="http://www.aifang.com/?change_location=yes">所有城市&gt;&gt;</a></div> -->
          </div>
        </div>
      </div>
      <div class="clear"></div>
    </div>
  </div>
  <div class="search">
    <div class="adbox">
        <div class="sbox">
          <div class="search_bar">
            <form onsubmit="" method="get" action="/waimai" target="_self">
              <div class=s>
                <input id="q" class="kw"
                	onfocus="(function(o,d){if(o.value==d)o.value=''})(this,'请输入店名或菜品名称...');"
					name="q" value="<?php if(empty($query)){echo '请输入店名或菜品名称...';}else{ echo h($query);}?>"
					autocomplete="off">
              </div>
              <input class="bt" onfocus="this.blur()" value="查找" type="submit" />
            </form>
          </div>
        </div>
<!--
    	<a target="_blank" href="#"><img height="50" width="500" src="http://pages.aifcdn.com/aifangnews/201011/aiheader500x50.jpg"></a>
-->
    </div>
  </div>
</div>
<div class="navs">
  <div class="nav">
    <div class="tbs">
    	<a class="<?php if($__tpl_class == 'default'){echo 'on';}else{echo 'fst';} ?>" href="/">首 页</a>
    	<a class="<?php if(in_array($__tpl_class, array('waimai', 'shop'))){echo 'on';}?>" href="/waimai">外 卖</a>
    	<a class="" href="#">团 购</a>
    	<a class="" href="/bbs">社 区</a>
      <div class="r"></div>
    </div>
    <div id="my_info" class="myv"><!--a rel="nofollow" href="#" class="gz">我关注的楼盘</a><a rel="nofollow" href="#" class="sc">我收藏的楼盘</a--></div>
  </div>
  <div class="bar">
    <div class="l"></div>
    <div class="r"></div>
  </div>
  <div class="bar_line"></div>
</div>
</div>
<div class="clear"></div>
